//
//  NSHomeInterestsICell.m
//  PassionPulse
//
//  Created by kyo on 2024/1/27.
//

#import "NSHomeInterestsICell.h"

@interface NSHomeInterestsICell()

@end

@implementation NSHomeInterestsICell
- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        [self setupUI];
    }
    return self;
}

#pragma mark - Public Metohd

#pragma mark - Action

#pragma mark - UI
- (void)setupUI {
    self.contentView.backgroundColor = UIColor.clearColor;
    
    [self.contentView addSubview:self.titleBtn];
    [self.titleBtn mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.contentView);
    }];
}

#pragma mark - Setter && Getter
- (UIButton *)titleBtn {
    if (!_titleBtn) {
        _titleBtn = [UIButton new];
        [_titleBtn setBackgroundColor:HEXS(@"FFE1F2")];
        [_titleBtn setTitleColor:HEXS(@"000000") forState:0];
        _titleBtn.layer.cornerRadius = MBHeightScale(12);
        _titleBtn.titleLabel.font = MBHelFontSizeScale(13);
    }
    return _titleBtn;
}
@end
